package ru.tulupov.collectionsbenchmark.model;

import java.util.Comparator;

public class CarHeightComparator implements Comparator<Car> {

	@Override
	public int compare(Car first, Car second) {
		return first.getHeight() - second.getHeight();
	}

}
